package cn.tedu.order.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private Long id;
    private Long userId;//谁
    private Long productId;//买了什么
    private Integer count;//买了多少
    private BigDecimal money;//花了多少钱
    private Integer status;//状态码 冻结/正常
}
